<template>
  <div>
    <adds @add="addss"></adds>
    <lists :list="cip"></lists>
  </div>
</template>

<script setup>
import adds from '../components/addpls.vue'
import lists from '../components/listpls.vue'
import {ref} from 'vue'
 
const cip=ref()
const addss=(i)=>{
  console.log(i)
  cip.value=i.ic
}

</script>

<style lang="scss" scoped>

</style>